﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;


namespace RRHH.Entities
{
    [DataContract]
    public class BEContrato  
    {
        [DataMember]
        public int IDCONTRATO { get; set; }
        [Required(ErrorMessage = "La Fecha de Inicio es requerido")]
        [Display(Name = "Fecha de Inicio", Description = "xxxxx")]
        [DataMember]       
        public Nullable<System.DateTime> FECHAINICIO { get; set; }
        [DataMember]
        public Nullable<System.DateTime> FECHAFIN { get; set; }
        [DataMember]
        public string IDTIPOEXTINCION { get; set; }
        [DataMember]
        public string CODIGOEMPLEADO { get; set; }
        [DataMember]
        public Nullable<int> IDPERSONAL { get; set; }
        [Required]
        [DataMember]
        public Nullable<decimal> SALARIORECIBO { get; set; }
        [Required]
        [DataMember]
        public Nullable<int> IDCARGO { get; set; }
        [Required]
        [DataMember]
        public Nullable<int> IDESTADO { get; set; }
        [DataMember]
        public Nullable<System.DateTime> FECHACREACION { get; set; }
        [DataMember]
        public Nullable<int> VIGENTE { get; set; }

        [DataMember]
        public string IDTIPOCONTRATO { get; set; }
        [DataMember]
        public string FLAGCESADO { get; set; }
        [DataMember]
        public Nullable<System.DateTime> FECHAEXTINCION { get; set; }
        [DataMember]      
        public string ESTADO { get; set; }
        //----------CAMPOS DE RELLENO--------------------//
        [DataMember]
        public string PERSONAL { get; set; }
        [DataMember]
        public string DNIPERSONAL { get; set; }
    }
}
